package edu.biwu.sms;



import edu.biwu.sms.enum01.EnrollmentStatus;

import java.time.LocalDate;

public class PrimaryStduent extends Stduent {
    public PrimaryStduent(String stuId, String name, double chineseScore, double mathScore, LocalDate enrollmentdates, String email, EnrollmentStatus enrollmentStatus) {
        super(stuId, name, chineseScore, mathScore, enrollmentdates, email, enrollmentStatus);
    }

    public PrimaryStduent(String stuId, String name, double chineseScore, double mathScore) {
        super(stuId, name, chineseScore, mathScore);
    }

    public PrimaryStduent(String stuId, String name, double chineseScore, double mathScore, LocalDate enrollmentdates) {
        super(stuId, name, chineseScore, mathScore, enrollmentdates);
    }

    public PrimaryStduent(String stuId, String name, double chineseScore, double mathScore, LocalDate enrollmentdates, String email) {
        super(stuId, name, chineseScore, mathScore, enrollmentdates, email);
    }
    //继承的父类有有参构造 我们定义这个PrimaryStduent 类默认会调用他的无参构造
    //public PrimaryStduent() 在这个无参构造方法中会执行super() 会调用父类的构造方法
    //ctrl+shift+y 翻译

    
}
